package com.chujian.system.core.service;


import com.chujian.framework.core.base.BaseService;
import com.chujian.core.entity.CoreCfg;

import java.util.List;

/**
 * 配置表 服务类
 *
 * @author chujian
 * @since 2021-07-28
 */
public interface CoreCfgService extends BaseService<CoreCfg> {

    /**
     * ac级别
     *
     * @param acId
     * @param cfg
     * @return
     */
    CoreCfg saveAcConfig(Long acId, CoreCfg cfg);

    CoreCfg getOne(Long acId, String cfgKey);

    List<CoreCfg> list(Long acId, String cfgKey);
}
